home *** CD-ROM | disk | FTP | other *** search
- on pushbtn
- puppetSound("Click")
- set btncn to the castNum of sprite clickOn()
- repeat while the stillDown
- if rollOver(clickOn()) then
- set the castNum of sprite clickOn() to btncn + 1
- else
- set the castNum of sprite clickOn() to btncn
- end if
- updateStage()
- end repeat
- set the castNum of sprite clickOn() to btncn
- updateStage()
- end
-
- on pushButton
- global gmarker
- set sp to clickOn()
- puppetSound("Click")
- puppetSprite(sp, 1)
- set the castNum of sprite sp to the castNum of sprite sp + 1
- updateStage()
- repeat while soundBusy(1)
- end repeat
- puppetSound(0)
- puppetSprite(sp, 0)
- updateStage()
- end
-